package org.anyin.gitee.cloud.center.auth.enums;

import lombok.Getter;
import org.anyin.gitee.cloud.lib.core.enums.BaseEnum;

@Getter
public enum LoginTypeEnum implements BaseEnum {
    USERNAME("username", "账号密码登录"),
    MOBILE("mobile", "手机号登录"),
    EMAIL("email", "邮箱登录")
    ;

    LoginTypeEnum(String code, String text) {
        this.code = code;
        this.text = text;
    }

    private String code;
    private String text;
}
